package com.github.sbb.sherry.repository.mapper;

import com.github.sbb.sherry.repository.entity.Datasource;
import com.github.sbb.sherry.repository.entity.DatasourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DatasourceMapper {
    long countByExample(DatasourceExample example);

    int deleteByExample(DatasourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Datasource row);

  int insertSelective(Datasource row);

    List<Datasource> selectByExample(DatasourceExample example);

    Datasource selectByPrimaryKey(Integer id);

  int updateByExampleSelective(@Param("row") Datasource row, @Param("example") DatasourceExample example);

  int updateByExample(@Param("row") Datasource row, @Param("example") DatasourceExample example);

  int updateByPrimaryKeySelective(Datasource row);

  int updateByPrimaryKey(Datasource row);
}